• Defines options for emitting Notification.Name.electronicHorizonDidUpdatePosition, Notification.Name.electronicHorizonDidEnterRoadObject, and Notification.Name.electronicHorizonDidExitRoadObject notifications while a RouteController or PassiveLocationManager is active.

    Note

    The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.
    See more

    Declaration

    Swift

    public struct ElectronicHorizonOptions
  • RoadGraph provides methods to get edge shape (e.g. RoadGraph.Edge) and metadata.

    You do not create a RoadGraph object manually. Instead, observe the Notification.Name.electronicHorizonDidUpdatePosition notification to obtain edge identifiers and get more details about the edges using the RouteController.roadGraph or PassiveLocationManager.roadGraph property.

    Note

    The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.
    See more

    Declaration

    Swift

    public final class RoadGraph
  • Identifies a road object according to one of two OpenLR standards.

    Note

    The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.
    See more

    Declaration

    Swift

    public enum OpenLRIdentifier
  • Describes the relationship between the road object and the direction of a referenced line. The road object may be directed in the same direction as the line, against that direction, both directions, or the direction of the road object might be unknown.

    Note

    The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.
    See more

    Declaration

    Swift

    public enum OpenLROrientation
  • Road information, like Route number, street name, shield information, etc.

    Note

    The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.
    See more

    Declaration

    Swift

    public struct RoadName : Equatable
  • Describes the object on the road. There are two sources of road objects: active route and the electronic horizon.

    See more

    Declaration

    Swift

    public struct RoadObject
  • Contains information about distance to the road object of a concrete type/shape (gantry, polygon, line, point etc.).

    See more

    Declaration

    Swift

    public enum DistancedRoadObject
  • Provides methods for road object matching.

    Matching results are delivered asynchronously via a delegate. In case of error (if there are no tiles in the cache, decoding failed, etc.) the object won’t be matched.

    Note

    The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.
    See more

    Declaration

    Swift

    final public class RoadObjectMatcher
  • Stores and provides access to metadata about road objects.

    You do not create a RoadObjectStore object manually. Instead, use the RouteController.roadObjectStore or PassiveLocationManager.roadObjectStore to access the currently active road object store.

    Note

    The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.
    See more

    Declaration

    Swift

    public final class RoadObjectStore
    extension RoadObjectStore: RoadObjectsStoreObserver
  • RoadObjectMatcher delegate.

    Note

    The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.
    See more

    Declaration

    Swift

    public protocol RoadObjectMatcherDelegate : AnyObject
  • RoadObjectStore delegate

     - note: The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.
    
    See more

    Declaration

    Swift

    public protocol RoadObjectStoreDelegate : AnyObject
  • An error that occures during road object matching.

    Note

    The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.
    See more

    Declaration

    Swift

    public struct RoadObjectMatcherError : LocalizedError
  • Describes the relationship between the road object and the road. The road object can be on the right side of the road, on the left side of the road, on both sides of the road or directly on the road.

    Note

    The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.
    See more

    Declaration

    Swift

    public enum OpenLRSideOfRoad